package com.xinli.business.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinli.common.annotation.Excel;
import com.xinli.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 帖子收藏对象 lf_post_fabulous
 *
 * @author ruoyi
 * @date 2025-04-30
 */
@Data
@TableName(value = "lf_post_fabulous")
public class LfPostFabulous  {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * "用户id"
     */
    @Excel(name = "用户id")
    private Long uid;

    /**
     * "帖子id"
     */
    @Excel(name = "帖子id")
    private Long postId;

    /**
     * "${comment}"
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long favoriteId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time", fill = FieldFill.INSERT) // 新增执行
    private Date createTime;


    @Excel(name = "帖子标题")
    @TableField(exist = false)
    private String  postTitle;



}
